package com.fx.student.service;

import com.fx.demo.common.resulUtils.AjaxResult;
import com.fx.student.entity.Student;

import java.util.Collection;
import java.util.List;

public interface StudentSer {
    AjaxResult<Collection<Student>> getStudents(int pageNum, int pageSize);
    AjaxResult<Student> getStudent(String id);
    void save(Student student);
    void saveAll(List<Student> students);
    void deleteById(String id);
}
